<div class="pz-block-registration {$blockParams.class}">
{if isset($active)}
    <p>{t}Your account is now actvated. You can now log you on the website.{/t}</p>
{elseif isset($noLink)}
    <p>{t}Sorry, your account was not found on the website. Please try to register you again.{/t}</p>
{elseif isset($registerActivation)}
    <p>{t}Your account has been create, show your e-mail to activate it.{/t}</p>
{elseif isset($register)}
    <p>{t}Your account has been create, you can now log you on the website.{/t}</p>
{else}
    <form name="FormRegistration" action="" method="POST" >
        <table>
            <tr>
                <th>
                    <label for="form_label_nom">{t}Lastname{/t} : </label>
                </th>
                <td>
                    <input type="text" id="form_label_nom" name="FormRegistration[nom]" value="{if isset($values.nom)}{$values.nom}{/if}" />
                    {if isset($errors.nom)}
                    <div class="error">{$errors.nom}</div>
                    {/if}
                </td>
            </tr>
            <tr>
                <th>
                    <label for="form_label_prenom">{t}Firstname{/t} : </label>
                </th>
                <td>
                    <input type="text" id="form_label_prenom" name="FormRegistration[prenom]" value="{if isset($values.prenom)}{$values.prenom}{/if}" />
                    {if isset($errors.prenom)}
                    <div class="error">{$errors.prenom}</div>
                    {/if}
                </td>
            </tr>
            <tr>
                <th>
                    <label for="form_label_login">{t}Login{/t}* : </label>
                </th>
                <td>
                    <input type="text" id="form_label_prenom" name="FormRegistration[login]" value="{if isset($values.login)}{$values.login}{/if}" />
                    {if isset($errors.login)}
                    <div class="error">{$errors.login}</div>
                    {/if}
                </td>
            </tr>
            <tr>
                <th>
                    <label for="form_label_mail">{t}Mail{/t}* : </label>
                </th>
                <td>
                    <input type="text" id="form_label_mail" name="FormRegistration[mail]" value="{if isset($values.mail)}{$values.mail}{/if}" />
                    {if isset($errors.mail)}
                    <div class="error">{$errors.mail}</div>
                    {/if}
                </td>
            </tr>
            <tr>
                <th>
                    <label for="form_label_password">{t}New password{/t}* : </label>
                </th>
                <td>
                    <input type="password" id="form_label_password" name="FormRegistration[password]" value="" />
                    {if isset($errors.password)}
                    <div class="error">{$errors.password}</div>
                    {/if}
                </td>
            </tr>
            <tr>
                <th>
                    <label for="form_label_password2">{t}Retype your password{/t}* : </label>
                </th>
                <td>
                    <input type="password" id="form_label_password2" name="FormRegistration[password2]" value="" />
                    {if isset($errors.password2)}
                    <div class="error">{$errors.password2}</div>
                    {/if}
                </td>
            </tr>
            <tr>
                <td colspan="2" class="submit">
                    <input type="submit" name="FormPassword[submit]" value="{t}Validate{/t}" />
                </td>
            </tr>
        </table>
    </form>
{/if}
    <div>
        <a href="{$URL_RELATIVE}">{t}Return{/t}</a>
    </div>
</div>